import {Service,util} from "adajs";

class YqljService extends Service{
	defaultData(){
		return {
            links:[
                [
                    {name:"人民网",link:"http://m.people.cn/",image:"/static/images/yqlj/rmw.png"},
                    {name:"新华网",link:"http://www.xinhuanet.com/shouji/normal/dh.htm",image:"/static/images/yqlj/xhw.png"},
                ],
                [
                    {name:"中国共产党新闻网",link:"http://cpc.people.com.cn/",image:"/static/images/yqlj/xww.png"},
                    {name:"共产党员网",link:"http://www.dangjian.cn/",image:"/static/images/yqlj/dyw.png"},
                ],
                [
                    {name:"党建网",link:"http://www.dangjian.cn/",image:"/static/images/yqlj/djw.png"},
                    {name:"中国组织人事新闻网",link:"http://www.dangjian.cn/",image:"/static/images/yqlj/zzrs.png"}
                ],
                [
                    {name:"国家林业和草原局",link:"http://www.forestry.gov.cn/main/index.html",image:"/static/images/yqlj/lyj.jpg"}
                ]
            ]
		};
	}

	onupdate(current,data){
		return util.extend(current,data);
	}
}

export default YqljService;